package com.design.chain;

/**
 * @author cxx
 * @create 2020-04-21 15:07
 **/
public class FirstInterceptor extends AbstractInterceptor {

    public FirstInterceptor(Interceptor nextInterceptor) {
        super (nextInterceptor);
    }

    @Override
    protected void print(String request) {
        System.out.println ("First print:"+request);
    }
}
